import sys

try:
	s = raw_input("Enter something:")
except EOFError:
	print '\nWhy did you do an EOF on me ?'
	sys.exit()
except:
	print '\nSome error/exception occurred.'
else:
	print 'no error'
print 'Done'